import request from '@/utils/request'

export function addTurnoverReceiptInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/addTurnoverReceiptInfo',
    method: 'post',
    data
  })
}
export function deleteTurnoverReceiptInfo(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/deleteTurnoverReceiptInfo',
    method: 'post',
    params
  })
}
export function getTurnoverReceiptBasicInfoList(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/getTurnoverReceiptBasicInfoList',
    method: 'post',
    data
  })
}
export function getTurnoverReceiptFinishInfoList(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/getTurnoverReceiptFinishInfoList',
    method: 'post',
    data
  })
}
export function getTurnoverReceiptInfoDetail(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/getTurnoverReceiptInfoDetail',
    method: 'post',
    params
  })
}

export function updateTurnoverReceiptInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReceiptInfo/updateTurnoverReceiptInfo',
    method: 'post',
    data
  })
}

// 归还单
export function addTurnoverReturnInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/addTurnoverReturnInfo',
    method: 'post',
    data
  })
}
export function deleteTurnoverReturnInfo(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/deleteTurnoverReturnInfo',
    method: 'post',
    params
  })
}
export function getTurnoverReturnBasicInfoList(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/getTurnoverReturnBasicInfoList',
    method: 'post',
    data
  })
}
export function getTurnoverReturnFinishInfoList(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/getTurnoverReturnFinishInfoList',
    method: 'post',
    data
  })
}
export function getTurnoverReturnInfoDetail(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/getTurnoverReturnInfoDetail',
    method: 'post',
    params
  })
}
export function updateTurnoverReturnInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverReturnInfo/updateTurnoverReturnInfo',
    method: 'post',
    data
  })
}
export function addTurnoverCheckInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverCheckInfo/addTurnoverCheckInfo',
    method: 'post',
    data
  })
}
export function deleteTurnoverCheckInfo(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverCheckInfo/deleteTurnoverCheckInfo',
    method: 'post',
    params
  })
}
export function getTurnoverCheckInfoDetail(params) {
  return request({
    url: '/api/materialConsumableManage/turnoverCheckInfo/getTurnoverCheckInfoDetail',
    method: 'post',
    params
  })
}
export function getTurnoverCheckInfoList(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverCheckInfo/getTurnoverCheckInfoList',
    method: 'post',
    data
  })
}
export function updateTurnoverCheckInfo(data) {
  return request({
    url: '/api/materialConsumableManage/turnoverCheckInfo/updateTurnoverCheckInfo',
    method: 'post',
    data
  })
}

